package com.xnfh.home.service

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.xnfh.common.constant.ArouterPath
import com.xnfh.common.service.IHomeService
import com.xnfh.home.ui.MainActivity

/**
 * @Description:
 * @Author: ziheng
 * @CreateDate: 2023/11/8 10:47
 * @UpdateUser: ziheng
 * @UpdateDate: 2023/11/8 10:47
 * @UpdateRemark: 更新说明
 */
@Route(path = ArouterPath.SERVICE.HOME_SERVICE)
class HomeService: IHomeService {
    override fun toMain(context: Context, index: Int) {
        MainActivity.start(context,index)
    }

    override fun init(context: Context?) {
    }
}